package com.css.common.core.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * swagger config pop
 *
 * @author gaohongliang
 */
@ConfigurationProperties(prefix = Swagger2Properties.PREFIX)
@Component
public class Swagger2Properties {
    static final String PREFIX="swagger";

    @Getter
    @Setter
    private String title;
    @Getter
    @Setter
    private String version;
    @Getter
    @Setter
    private String basePackage;
    @Getter
    @Setter
    private boolean enabled;
}
